<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<!DOCTYPE html> 
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>欢迎页面</title>
    <meta name="viewport" content="initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="stylesheet" href="css/sm.min.css" />
    <link rel="stylesheet" href="css/style_welcome.css" />
    <script src="js/jquery-1.10.2.min.js" type="text/javascript"></script>
    <script src="js/common.js" type="text/javascript"></script>
    <script type="text/javascript">
    	
    	function getSign(){
    		$("#myform").submit(); 
    	}
    	
    	
    	$(function(){
    		//countDown('l_min');
    	})
    	
    	function countDown(id){
    		var num=5
    		var name=setInterval(function(){
    			 $("#" + id).html(num);// 你倒计时显示的地方元素
		              num--;
		           if(num==0){
		             clearInterval(name);
		             getSign();
		           }
    		},1000);
    	}   
    	
    </script>
    
</head>
<body>
    <div class="wrap">
    	<div class="logo_in">
	    	<div class="logo"><img src="images/a74.png" alt="" /></div>
	    	<div class="content1">
	    		<p>欢迎来到积分商城</p>
	    	</div>
	    	<form id="myform" action="${pageContext.request.contextPath}/login" method="post">  
	    		<input type="hidden" value="John" id="uid" name="uid">
	    		<input type="hidden" value="%r#3d$%" id="name" name="name">  
	    		<input type="hidden" value="${sign}" id="sign" name="sign">
                <input type="hidden" name="${_csrf.parameterName}"   value="${_csrf.token}" />    	    		
	    		<div class="wel_btn"><input type="submit"  value="积分商城"/>
	    		<center><span id="l_min">5</span>秒钟后自动跳转 ...</center>
	    		</div>
	    	</form>
    	</div>
    </div>
</body>
</html>